package com.distribute.config.distributeLock;

import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DistributedLock {
    String key();
    long expiration() default 1000L;
    long timeout() default 3000L;
}
